home *** CD-ROM | disk | FTP | other *** search
/ Champak 52 / Volume 52 - JOGO DISK .iso / Games / scoobybigair.swf / scripts / frame_1 / DoAction.as < prev   
Text File  |  2007-10-01  |  749b  |  33 lines

  1. System.security.allowDomain("*.warnerbros.com");
  2. Object.prototype.gameMC = this;
  3. Object.prototype.containerMC = _parent;
  4. if(containerMC != null)
  5. {
  6.    containerMC.init();
  7.    _root.gDebug = "InContainer\n";
  8. }
  9. gameMC.gLoadInit = false;
  10. gameMC.gGameState = "INIT";
  11. gameMC.gLoadStartTime = 0;
  12. gameMC.gVersionNum = "1.0";
  13. gameMC.gPaused = false;
  14. gameMC.gInitGame = null;
  15. gameMC.min_score = -1;
  16. trace("GameParent: " + _parent);
  17. if(gameMC.gGameID eq "")
  18. {
  19.    gameMC.gGameID = "bigAir";
  20. }
  21. if(gameMC.gHSRoot_swf eq "")
  22. {
  23.    gameMC.gHSRoot_swf = "/games/med/";
  24. }
  25. if(gameMC.gHSRoot_jsp eq "")
  26. {
  27.    gameMC.gHSRoot_jsp = "/web/load_variables/games/";
  28. }
  29. if(gameMC.gHSRoot_top100 eq "")
  30. {
  31.    gameMC.gHSRoot_top100 = "/web/games/";
  32. }
  33.